package com.gopay.solution.dao;

import java.io.Serializable;
import java.util.List;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.solution.domain.po.SolutionRuleDtl;

public interface SolutionRuleDtlDAO<R extends SolutionRuleDtl, Pk extends Serializable> extends BaseDAO<R, Pk>{

    public R getByPk(Pk id);
    
    public List<R> listBySolutionId(long solutionId);
    
    public boolean delBySolutionId(long solutionId);
    
    public List<R> listBySoluIdAndIntTxnCd(long solutionId, String intTxnCd);
    
    public boolean delBySoluIdAndIntTxnCd(long solutionId, String intTxnCd);
    
}
